package cn.xiaoming.car.pojo.car.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author Anan
 */
@Data
@TableName("detail")
public class CarDetail implements Serializable {
    private Long id;
    private Long carId;
    private String title;
    private BigDecimal price;
    private String color;
    private String carState;
    private String carDescription;
    private Long vehicleStylesId;
    private String vehicleStylesName;
    private Long userId;
    private String userPhone;
    private String userNickname;
    private Long brandId;
    private String brandName;
    private String categoryName;
    private String displacement;
    private String pictures;
    private Integer operations;
    private Integer sort;
    private String upPlateCreate;
    private String mileage;
    private String address;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;


}
